package com.honeyms.project.system.user.domain;

import com.honeyms.framework.aspectj.lang.annotation.Excel;
import com.honeyms.framework.aspectj.lang.annotation.Excel.ColumnType;
import com.honeyms.framework.web.domain.BaseEntity;

/**
 * 
 * @author honey
 * @version 创建时间：2020年12月10日 下午3:30:35
 */
public class UserEditPersonal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    @Excel(name = "用户序号", cellType = ColumnType.NUMERIC, prompt = "用户编号")
    private Long userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 用户邮箱 */
    @Excel(name = "用户邮箱")
    private String email;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phonenumber;

    /** 用户性别 */
    @Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;

    /** 用户头像 */
    private String avatar;

    /** 密码 */
    private String password;

	public Long getUserId() {
		return userId;
	}

	public String getUserName() {
		return userName;
	}

	public String getEmail() {
		return email;
	}

	public String getPhonenumber() {
		return phonenumber;
	}

	public String getSex() {
		return sex;
	}

	public String getAvatar() {
		return avatar;
	}

	public String getPassword() {
		return password;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setPhonenumber(String phonenumber) {
		this.phonenumber = phonenumber;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		return "{\"userId\":\"" + userId + "\", \"userName\":\"" + userName + "\", \"email\":\"" + email
				+ "\", \"phonenumber\":\"" + phonenumber + "\", \"sex\":\"" + sex + "\", \"avatar\":\"" + avatar
				+ "\", \"password\":\"" + password + "\"}";
	}

}
